package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.Building;

@Component("buildingDAO")
public interface BuildingMapper {

	public List<Building> getBuilding(@Param("regionId")int regionId);
	public Building getBuildingById(@Param("id")int id);
}
